home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
v cisle
/
diff
/
diffcmdu_bundle.exe
/
{app}
/
ExtTools
/
ImageViewer
/
ImageViewer.hta
next >
Wrap
Text File
|
2007-01-08
|
1KB
|
64 lines
<html>
<head>
<title>Image Viewer - Diff Commander</title>
</head>
<HTA:APPLICATION ID="IV"
APPLICATIONNAME="Diff Commander - Image Viewer"
ICON="ImageViewer.ico"
WINDOWSTATE="normal">
<script language="javascript" src="scripts.js"></script>
<script>
bLeftLoaded= false;
bRightLoaded= false;
lp= "";
rp= "";
// parse command line params
var Pathes= getCmdParam(IV.commandLine);
for (var i=0; i<Pathes.length && i<2; i++)
{
if (i == 0)
{
lp= Pathes[0];
}
if (i == 1)
{
rp= Pathes[1];
}
}
function LoadLeft()
{
if (bLeftLoaded == false)
{
sLocation = "paneleft.htm?LeftImg=";
sLocation += lp;
window.frames("leftpane").document.location= sLocation;
bLeftLoaded= true;
}
}
function LoadRight()
{
if (bRightLoaded == false)
{
sLocation = "paneright.htm?RightImg=";
sLocation += rp;
window.frames("rightpane").document.location= sLocation;
bRightLoaded= true;
}
}
</script>
<frameset onkeydown="CloseByEsc();" id="paneset" cols="100%,100%" frameborder="yes" framespacing="0">
<frame application="yes" id="leftpane" src="" name="leftpane" onload="LoadLeft();" scrolling="yes"/>
<frame application="yes" id="rightpane" src="" name="rightpane" onload="LoadRight();" scrolling="yes"/>
</frameset>
</html>